import request from '@/utils/request'

// 查询终端回调列表
export function listTerminalup(query) {
  return request({
    url: '/laiqianle/terminalup/list',
    method: 'get',
    params: query
  })
}

// 查询终端回调详细
export function getTerminalup(id) {
  return request({
    url: '/laiqianle/terminalup/' + id,
    method: 'get'
  })
}

// 新增终端回调
export function addTerminalup(data) {
  return request({
    url: '/laiqianle/terminalup',
    method: 'post',
    data: data
  })
}

// 修改终端回调
export function updateTerminalup(data) {
  return request({
    url: '/laiqianle/terminalup',
    method: 'put',
    data: data
  })
}

// 删除终端回调
export function delTerminalup(id) {
  return request({
    url: '/laiqianle/terminalup/' + id,
    method: 'delete'
  })
}
